package com.six.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.six.domain.entity.Printer;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface PrinterMapper extends BaseMapper<Printer> {
    int insert(@Param("p") Printer printer);
    int updateById(@Param("p") Printer printer);
    int deleteById(@Param("id") Long id);
    Printer selectById(@Param("id") Long id);
    List<Printer> selectByStore(@Param("storeId") Long storeId);
}